<?php
require_once 'mysql.class.php';

  function M(){
    $config=array(
      "localhost"=>'localhost',
      'username'=>'root',
      'password'=>'root',
      'dbname'=>'bookstore',
      'charset'=>'utf8'
      );
    return new Mysql($config);
  }
?>
